package com.ssm.model;

import java.sql.Date;

public class Book {
    private String book_id;
    private String type;
    private String name;
    private String publisher;
    private String author;
    private int page;
    private Date date;
    private double price;
    private int quantity;

    private String image;

    private String detail;

    public Book() {

    }

    public Book(String book_id, String type, String name, String publisher, String author, int page, Date date, double price, int quantity, String image, String detail) {
        this.book_id = book_id;
        this.type = type;
        this.name = name;
        this.publisher = publisher;
        this.author = author;
        this.page = page;
        this.date = date;
        this.price = price;
        this.quantity = quantity;
        this.image = image;
        this.detail = detail;
    }

    public String getBook_id() {
        return book_id;
    }

    public void setBook_id(String book_id) {
        this.book_id = book_id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPublisher() {
        return publisher;
    }

    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }
}
